<?php

include_once '../inc/conn.php';
include_once 'delete_byid.php';
header("Content-Type: text/html;charset=utf-8");
	if(!empty($_REQUEST['id'])){
		$id=trim($_REQUEST['id']);
		
		$user_id = explode('|',substr($id,0,strlen($id)-1)) ;
		
		
		$de=new delet_byid();
	
		$de->delete($user_id,$oa,"login_user","uid","user_list.php");
	}
	
  else{
  	echo "<script>alert(请选择要删除项!);window.history.back();</script>";
  }
?>